<?php


namespace api\project\controller;


use api\project\model\BannerModel;
use cmf\controller\RestBaseController;

class BannerController extends RestBaseController
{
    public function index()
    {
        $res = BannerModel::order('id','desc')
            ->select();
        $this->success('Banner信息',$res);
    }
}